package deibay.messages;

import java.io.Serializable;

public class Message implements Cloneable, Serializable{
	
	private static final long serialVersionUID = 1L;
	
	protected String message;
	
	public Message(String message) {
		this.message = message;		
	}
		
	public String getMessage() {
		return message;
	}
	
	public void setMessage(String message) {
		this.message = message;
	}

	public String toString()
	{
		return getClass().getSimpleName();
	}
	
	public Object clone() {
		try {
			return super.clone();
		} catch (CloneNotSupportedException e) {
			e.printStackTrace();
		}
		
		return null;
	}
}
